<?php

/**
 * @apiGroup           User
 * @apiName            registerUserWithProfile
 * @api                {post} /v1/register Register User (create client)
 * @apiDescription     Register users with profile.
 *
 * @apiVersion         1.0.0
 * @apiPermission      none
 *
 * @apiParam           {String}  email
 * @apiParam           {String}  email_code
 * @apiParam           {String}  phone
 * @apiParam           {String}  phone_code
 * @apiParam           {String}  role
 * @apiParam           {String}  legal_form_type
 * @apiParam           {Boolean}  without_patronymic
 * @apiParam           {String}  fio
 * @apiParam           {String}  password
 * @apiParam           {Boolean}  confidentiality_acceptance
 *
 * @apiUse             UserSuccessSingleResponse
 */

use App\Containers\AppSection\User\UI\API\Controllers\Controller;
use Illuminate\Support\Facades\Route;

Route::post('/register/with-profile', [Controller::class, 'registerUserWithProfile'])
    ->name('api_user_register_user_with_profile');
